package com.niguang.work.api.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author chenliu
 * @since 2018-07-23
 */
public class VClockWork extends Model<VClockWork> {

    private static final long serialVersionUID = 1L;

    private Long siteId;
    /**
     * 工种 ID
     */
    private Long workTypeId;
    private Date day;
    @TableField("userId")
    private Long userId;
    @TableField("allTime")
    private BigDecimal allTime;
    private BigDecimal overtime;
    @TableField("normalTime")
    private BigDecimal normalTime;
    @TableField("daySalary")
    private String daySalary;


    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getWorkTypeId() {
        return workTypeId;
    }

    public void setWorkTypeId(Long workTypeId) {
        this.workTypeId = workTypeId;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getAllTime() {
        return allTime;
    }

    public void setAllTime(BigDecimal allTime) {
        this.allTime = allTime;
    }

    public BigDecimal getOvertime() {
        return overtime;
    }

    public void setOvertime(BigDecimal overtime) {
        this.overtime = overtime;
    }

    public BigDecimal getNormalTime() {
        return normalTime;
    }

    public void setNormalTime(BigDecimal normalTime) {
        this.normalTime = normalTime;
    }

    public String getDaySalary() {
        return daySalary;
    }

    public void setDaySalary(String daySalary) {
        this.daySalary = daySalary;
    }

    public static final String SITE_ID = "site_id";

    public static final String WORK_TYPE_ID = "work_type_id";

    public static final String DAY = "DAY";

    public static final String USERID = "userId";

    public static final String ALLTIME = "allTime";

    public static final String OVERTIME = "overtime";

    public static final String NORMALTIME = "normalTime";

    public static final String DAYSALARY = "daySalary";

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "VClockWork{" +
        "siteId=" + siteId +
        ", workTypeId=" + workTypeId +
        ", day=" + day +
        ", userId=" + userId +
        ", allTime=" + allTime +
        ", overtime=" + overtime +
        ", normalTime=" + normalTime +
        ", daySalary=" + daySalary +
        "}";
    }
}
